// 404错误页面样式
// 用于显示页面未找到的友好界面
// 404错误页面容器
.not-found-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

// 错误内容容器
.error-content {
    text-align: center;
    max-width: 600px;
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    // 玻璃态效果
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        z-index: -1;
    }
}

// 404图标
.error-icon {
    margin-bottom: 2rem;
    .el-icon {
        font-size: 5rem;
        color: #667eea;
        animation: float 3s ease-in-out infinite;
    }
}

// 错误标题
.error-title {
    font-size: 6rem;
    font-weight: 700;
    color: #667eea;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 4px rgba(102, 126, 234, 0.3);
    animation: slideInDown 0.8s ease-out;
}

// 错误副标题
.error-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 1.5rem 0;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

// 错误描述
.error-description {
    color: #718096;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

// 导航按钮区域
.navigation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    animation: slideInUp 0.8s ease-out 0.6s both;
    .el-button {
        min-width: 140px;
        height: 44px;
        border-radius: 8px;
        font-weight: 500;
        transition: all 0.3s ease;
        .el-icon {
            margin-right: 0.5rem;
        }
    }
    .back-btn {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        color: white;
        &:hover {
            background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
        }
    }
    .home-btn {
        border: 2px solid #e2e8f0;
        color: #4a5568;
        background: white;
        &:hover {
            border-color: #667eea;
            color: #667eea;
            background: #f7fafc;
            transform: translateY(-2px);
        }
    }
    .search-btn {
        border: 2px solid #e2e8f0;
        color: #4a5568;
        background: white;
        &:hover {
            border-color: #48bb78;
            color: #48bb78;
            background: #f0fff4;
            transform: translateY(-2px);
        }
    }
}

// 快速链接区域
.quick-links {
    animation: slideInUp 0.8s ease-out 0.8s both;
    .links-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: #2d3748;
        margin-bottom: 1rem;
        margin-top: 0;
    }
    .links-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.75rem;
        max-width: 400px;
        margin: 0 auto;
        .quick-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 1rem 0.5rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            color: #4a5568;
            .el-icon {
                font-size: 1.5rem;
                margin-bottom: 0.5rem;
                color: #667eea;
            }
            &:hover {
                background: #f7fafc;
                color: #667eea;
                transform: translateY(-2px);
                box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
            }
        }
    }
}

// 动画效果
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

// 响应式设计
@media (max-width: 768px) {
    .not-found-page {
        padding: 1rem;
        min-height: 70vh;
    }
    .error-content {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    .error-title {
        font-size: 4rem;
    }
    .error-subtitle {
        font-size: 1.25rem;
    }
    .error-description {
        font-size: 1rem;
    }
    .navigation-actions {
        flex-direction: column;
        align-items: center;
        .el-button {
            width: 100%;
            max-width: 200px;
        }
    }
    .quick-links .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        .quick-link {
            padding: 0.75rem 0.25rem;
            font-size: 0.875rem;
            .el-icon {
                font-size: 1.25rem;
            }
        }
    }
}

@media (max-width: 480px) {
    .error-content {
        padding: 1.5rem 1rem;
    }
    .error-title {
        font-size: 3rem;
    }
    .error-subtitle {
        font-size: 1.125rem;
    }
    .quick-links .links-grid {
        grid-template-columns: 1fr;
    }
}